package BridgePattern;

/*
* @Author: wanghongfucoder
* @Date:   2017-02-15 16:35:09
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-02-15 16:40:44
*/
// 来源菜鸟教程
public class Bridgedemo {

	public static void main(String[] args) {

		Shape redCircle=new Circle(100,100,10,new RedCircle());
		Shape greenCircle=new Circle(100,100,10,new CreenCircle());
		redCircle.draw();
		greenCircle.draw();
    }
}